.class public Lcom/estrongs/android/widget/c;
.super Ljava/lang/Object;
.source "FileBrowserDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/widget/c$q;,
        Lcom/estrongs/android/widget/c$r;
    }
.end annotation


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Lcom/estrongs/android/view/e0;

.field private d:Landroid/view/View;

.field private e:Landroid/view/View;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Lcom/estrongs/fs/g;

.field protected j:Ljava/lang/String;

.field protected k:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field

.field l:Z

.field private m:Les/q70;

.field private n:I

.field private o:Landroid/content/Context;

.field private p:Lcom/estrongs/android/ui/dialog/q;

.field private q:Ljava/lang/String;

.field private r:Lcom/estrongs/android/widget/c$q;

.field public s:Landroid/view/View;

.field public t:Landroid/widget/EditText;

.field public u:Landroid/widget/EditText;

.field protected v:Lcom/estrongs/fs/k;

.field protected final w:Lcom/estrongs/fs/l;

.field protected final x:Lcom/estrongs/fs/l;

.field protected final y:Lcom/estrongs/fs/l;

.field private z:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, p1, p2, p3, v0}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;Z)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V
    .locals 5

    .line 4
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 5
    new-instance v0, Ljava/util/LinkedList;

    invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Lcom/estrongs/android/widget/c;->m:Les/q70;

    const/4 v1, 0x0

    .line 7
    iput v1, p0, Lcom/estrongs/android/widget/c;->n:I

    .line 8
    iput-object v0, p0, Lcom/estrongs/android/widget/c;->q:Ljava/lang/String;

    .line 9
    iput-object v0, p0, Lcom/estrongs/android/widget/c;->r:Lcom/estrongs/android/widget/c$q;

    .line 10
    new-instance v2, Lcom/estrongs/android/widget/c$h;

    invoke-direct {v2, p0}, Lcom/estrongs/android/widget/c$h;-><init>(Lcom/estrongs/android/widget/c;)V

    iput-object v2, p0, Lcom/estrongs/android/widget/c;->v:Lcom/estrongs/fs/k;

    .line 11
    new-instance v2, Lcom/estrongs/fs/l;

    const/4 v3, 0x1

    const-string v4, "phone-mnt-folder"

    invoke-direct {v2, v4, v3}, Lcom/estrongs/fs/l;-><init>(Ljava/lang/String;Z)V

    iput-object v2, p0, Lcom/estrongs/android/widget/c;->w:Lcom/estrongs/fs/l;

    .line 12
    new-instance v2, Lcom/estrongs/fs/l;

    const-string v4, "usb-mnt-folder"

    invoke-direct {v2, v4, v3}, Lcom/estrongs/fs/l;-><init>(Ljava/lang/String;Z)V

    iput-object v2, p0, Lcom/estrongs/android/widget/c;->x:Lcom/estrongs/fs/l;

    .line 13
    new-instance v2, Lcom/estrongs/fs/l;

    const-string v4, "usb-Otg-folder"

    invoke-direct {v2, v4, v3}, Lcom/estrongs/fs/l;-><init>(Ljava/lang/String;Z)V

    iput-object v2, p0, Lcom/estrongs/android/widget/c;->y:Lcom/estrongs/fs/l;

    .line 14
    iput-boolean v1, p0, Lcom/estrongs/android/widget/c;->z:Z

    .line 15
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    .line 16
    iget v1, p0, Lcom/estrongs/android/widget/c;->n:I

    or-int/2addr p4, v1

    iput p4, p0, Lcom/estrongs/android/widget/c;->n:I

    .line 17
    new-instance p4, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {p4, p1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    new-instance v1, Lcom/estrongs/android/widget/c$i;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/c$i;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {p4, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/content/DialogInterface$OnDismissListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 18
    invoke-virtual {p4}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object p4

    iput-object p4, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    .line 19
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p4

    .line 20
    invoke-virtual {p4}, Lcom/estrongs/android/pop/l;->r1()Z

    move-result p4

    .line 21
    invoke-static {p4}, Les/rj;->a(Z)V

    .line 22
    iget-object p4, p0, Lcom/estrongs/android/widget/c;->w:Lcom/estrongs/fs/l;

    invoke-virtual {p4}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object p4

    .line 23
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0803e5

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 24
    invoke-static {p4, v1}, Les/rj;->a(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .line 25
    iget-object p4, p0, Lcom/estrongs/android/widget/c;->x:Lcom/estrongs/fs/l;

    invoke-virtual {p4}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object p4

    .line 26
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f080776

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 27
    invoke-static {p4, v1}, Les/rj;->a(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .line 28
    iget-object p4, p0, Lcom/estrongs/android/widget/c;->y:Lcom/estrongs/fs/l;

    invoke-virtual {p4}, Lcom/estrongs/fs/l;->a()Ljava/lang/String;

    move-result-object p4

    .line 29
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 30
    invoke-static {p4, v1}, Les/rj;->a(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)V

    .line 31
    iget-object p4, p0, Lcom/estrongs/android/widget/c;->v:Lcom/estrongs/fs/k;

    const-string v1, "storage"

    invoke-static {v1, p4}, Lcom/estrongs/fs/f;->a(Ljava/lang/String;Lcom/estrongs/fs/j;)V

    .line 32
    invoke-virtual {p0, p1, p3}, Lcom/estrongs/android/widget/c;->a(Landroid/content/Context;Lcom/estrongs/fs/h;)V

    .line 33
    invoke-direct {p0}, Lcom/estrongs/android/widget/c;->p()V

    .line 34
    sget-boolean p1, Lcom/estrongs/android/pop/j;->n:Z

    if-eqz p1, :cond_0

    if-eqz p2, :cond_0

    const-string p1, "/"

    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    move-object p2, v0

    .line 35
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->m:Les/q70;

    if-nez p1, :cond_1

    .line 36
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p3

    invoke-virtual {p3, p2}, Lcom/estrongs/android/pop/l;->i(Ljava/lang/String;)Les/q70;

    move-result-object p3

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/q70;)V

    goto :goto_0

    .line 37
    :cond_1
    iget-object p3, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {p3, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/q70;)V

    :goto_0
    if-eqz p2, :cond_2

    .line 38
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    goto :goto_1

    .line 39
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    const-string p3, "storage://"

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    .line 40
    :goto_1
    iput-object p2, p0, Lcom/estrongs/android/widget/c;->q:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;Z)V
    .locals 6

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move v4, p4

    .line 2
    invoke-direct/range {v0 .. v5}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;ZZ)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;ZZ)V
    .locals 0

    .line 3
    invoke-static {p4, p5}, Lcom/estrongs/android/widget/c;->a(ZZ)I

    move-result p4

    invoke-direct {p0, p1, p2, p3, p4}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V

    return-void
.end method

.method private static a(ZZ)I
    .locals 0

    if-eqz p0, :cond_0

    const/4 p0, 0x6

    goto :goto_0

    :cond_0
    const/16 p0, 0xe

    :goto_0
    xor-int/lit8 p1, p1, 0x1

    or-int/2addr p0, p1

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/widget/c;Lcom/estrongs/fs/g;)Lcom/estrongs/fs/g;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->i:Lcom/estrongs/fs/g;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/widget/c;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->q:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/widget/c;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/widget/c;->p()V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/widget/c;)Lcom/estrongs/android/view/e0;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/widget/c;Ljava/lang/String;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/widget/c;->d(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic c(Lcom/estrongs/android/widget/c;)Landroid/widget/ImageView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->a:Landroid/widget/ImageView;

    return-object p0
.end method

.method private c(Ljava/lang/String;)Z
    .locals 5

    const-string v0, "/"

    const/4 v1, 0x0

    .line 2
    :try_start_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 3
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    :cond_0
    const/4 v2, 0x0

    .line 4
    :goto_0
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_3

    .line 5
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    .line 6
    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v3

    .line 7
    invoke-virtual {v3, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 8
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 9
    :cond_1
    invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz v3, :cond_2

    const/4 p1, 0x1

    return p1

    :cond_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :catch_0
    :cond_3
    return v1
.end method

.method static synthetic d(Lcom/estrongs/android/widget/c;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->q:Ljava/lang/String;

    return-object p0
.end method

.method private d(Ljava/lang/String;)V
    .locals 3

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->j:Ljava/lang/String;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Les/o10;->d(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 5
    new-instance v1, Lcom/estrongs/android/widget/c$d;

    invoke-direct {v1, p0, v0, p1}, Lcom/estrongs/android/widget/c$d;-><init>(Lcom/estrongs/android/widget/c;Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    new-instance p1, Lcom/estrongs/android/pop/e;

    iget-object v2, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    invoke-direct {p1, v2}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, p1}, Les/s80;->a(Les/v80;)V

    .line 7
    new-instance p1, Lcom/estrongs/android/widget/c$e;

    invoke-direct {p1, p0, v0}, Lcom/estrongs/android/widget/c$e;-><init>(Lcom/estrongs/android/widget/c;Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Les/s80;->a(Les/z80;)V

    const/4 p1, 0x1

    .line 8
    invoke-virtual {v1, p1}, Les/s80;->b(Z)V

    return-void
.end method

.method static synthetic e(Lcom/estrongs/android/widget/c;)Les/q70;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->m:Les/q70;

    return-object p0
.end method

.method static synthetic f(Lcom/estrongs/android/widget/c;)Lcom/estrongs/android/widget/c$q;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->r:Lcom/estrongs/android/widget/c$q;

    return-object p0
.end method

.method static synthetic g(Lcom/estrongs/android/widget/c;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic h(Lcom/estrongs/android/widget/c;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->b:Landroid/widget/TextView;

    return-object p0
.end method

.method static synthetic i(Lcom/estrongs/android/widget/c;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->d:Landroid/view/View;

    return-object p0
.end method

.method static synthetic j(Lcom/estrongs/android/widget/c;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->f:Landroid/view/View;

    return-object p0
.end method

.method static synthetic k(Lcom/estrongs/android/widget/c;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    return-object p0
.end method

.method static synthetic l(Lcom/estrongs/android/widget/c;)Lcom/estrongs/fs/g;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/widget/c;->i:Lcom/estrongs/fs/g;

    return-object p0
.end method

.method private o()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    new-instance v1, Lcom/estrongs/android/widget/c$g;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/c$g;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;)V

    return-void
.end method

.method private p()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v1

    .line 4
    new-instance v2, Lcom/estrongs/android/widget/c$r;

    invoke-direct {v2, p0}, Lcom/estrongs/android/widget/c$r;-><init>(Lcom/estrongs/android/widget/c;)V

    .line 5
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->e()Ljava/util/List;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 6
    iget v3, p0, Lcom/estrongs/android/widget/c;->n:I

    and-int/lit8 v3, v3, 0x8

    if-eqz v3, :cond_1

    .line 7
    invoke-static {}, Lcom/estrongs/fs/impl/usb/e;->a()Z

    move-result v3

    if-nez v3, :cond_0

    .line 8
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->y:Lcom/estrongs/fs/l;

    invoke-static {v3}, Lcom/estrongs/fs/impl/usb/e;->a(Lcom/estrongs/fs/l;)Ljava/util/ArrayList;

    move-result-object v3

    if-eqz v3, :cond_0

    .line 9
    iget-object v4, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 10
    :cond_0
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    const-string v4, "smb"

    invoke-virtual {v2, v1, v4}, Lcom/estrongs/android/widget/c$r;->a(Lcom/estrongs/android/pop/l;Ljava/lang/String;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 11
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    const-string v4, "ftp"

    invoke-virtual {v2, v1, v4}, Lcom/estrongs/android/widget/c$r;->a(Lcom/estrongs/android/pop/l;Ljava/lang/String;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 12
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    const-string v4, "dropbox"

    invoke-virtual {v2, v1, v4}, Lcom/estrongs/android/widget/c$r;->a(Lcom/estrongs/android/pop/l;Ljava/lang/String;)Ljava/util/List;

    move-result-object v4

    invoke-interface {v3, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 13
    invoke-static {}, Lcom/estrongs/fs/impl/adb/c;->c()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 14
    iget-object v3, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    const-string v4, "adb"

    invoke-virtual {v2, v1, v4}, Lcom/estrongs/android/widget/c$r;->a(Lcom/estrongs/android/pop/l;Ljava/lang/String;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v3, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 15
    :cond_1
    iget v2, p0, Lcom/estrongs/android/widget/c;->n:I

    and-int/lit8 v2, v2, 0x10

    if-eqz v2, :cond_2

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->a0()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 16
    iget-object v1, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-static {}, Lcom/estrongs/fs/impl/pcs/b;->o()Lcom/estrongs/fs/impl/pcs/b;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 17
    :cond_2
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method private q()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    iget-object v1, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    const v2, 0x7f110055

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/widget/c$f;

    invoke-direct {v2, p0}, Lcom/estrongs/android/widget/c$f;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setMiddleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 75
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method

.method public a(I)V
    .locals 1

    .line 63
    iget v0, p0, Lcom/estrongs/android/widget/c;->n:I

    if-eq v0, p1, :cond_0

    .line 64
    iput p1, p0, Lcom/estrongs/android/widget/c;->n:I

    .line 65
    invoke-direct {p0}, Lcom/estrongs/android/widget/c;->p()V

    :cond_0
    return-void
.end method

.method public a(Landroid/content/Context;Lcom/estrongs/fs/h;)V
    .locals 6

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    const-string v0, "File Browser"

    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    .line 20
    invoke-virtual {p0, p2}, Lcom/estrongs/android/widget/c;->a(Lcom/estrongs/fs/h;)V

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {p1}, Lcom/estrongs/android/view/h0;->j()Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const/16 p2, 0x400

    .line 22
    invoke-virtual {p1, p2}, Landroid/view/View;->setMinimumHeight(I)V

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const/16 p2, 0x3e8

    invoke-virtual {p1, p2}, Landroid/view/View;->setMinimumWidth(I)V

    .line 24
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    iget-object p2, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    .line 25
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f0902c4

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->a:Landroid/widget/ImageView;

    .line 26
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f090ca5

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->b:Landroid/widget/TextView;

    .line 27
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f0901a5

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->d:Landroid/view/View;

    const/4 p2, 0x1

    .line 28
    invoke-virtual {p1, p2}, Landroid/view/View;->setFocusable(Z)V

    .line 29
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->d:Landroid/view/View;

    const v0, 0x7f09051a

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    .line 30
    invoke-virtual {p1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 31
    iget-object v2, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0602df

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-static {v1, v2}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 32
    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 33
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->d:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f0807f3

    const v4, 0x7f08012a

    .line 34
    invoke-virtual {v1, v4, v2}, Lcom/estrongs/android/ui/theme/b;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 35
    invoke-virtual {p1, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 36
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->d:Landroid/view/View;

    new-instance v1, Lcom/estrongs/android/widget/c$m;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/c$m;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 37
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const v1, 0x7f0901a3

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    .line 38
    invoke-virtual {p1, p2}, Landroid/view/View;->setFocusable(Z)V

    .line 39
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    .line 40
    invoke-virtual {p1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 41
    iget-object v5, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    invoke-virtual {v5}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    invoke-virtual {v5, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v5

    invoke-static {v1, v5}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    .line 42
    invoke-virtual {p1, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 43
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    .line 44
    invoke-virtual {v1, v4, v2}, Lcom/estrongs/android/ui/theme/b;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 45
    invoke-virtual {p1, v1}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 46
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    new-instance v1, Lcom/estrongs/android/widget/c$n;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/c$n;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {p1, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 47
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const v1, 0x7f0901a4

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->h:Landroid/view/View;

    .line 48
    invoke-virtual {p1, p2}, Landroid/view/View;->setFocusable(Z)V

    .line 49
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->h:Landroid/view/View;

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    .line 50
    invoke-virtual {p1}, Landroid/widget/ImageView;->getDrawable()Landroid/graphics/drawable/Drawable;

    move-result-object p2

    .line 51
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    invoke-static {p2, v0}, Les/fy;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    .line 52
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 53
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->h:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p2

    .line 54
    invoke-virtual {p2, v4, v2}, Lcom/estrongs/android/ui/theme/b;->a(II)Landroid/graphics/drawable/Drawable;

    move-result-object p2

    .line 55
    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 56
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->h:Landroid/view/View;

    new-instance p2, Lcom/estrongs/android/widget/c$o;

    invoke-direct {p2, p0}, Lcom/estrongs/android/widget/c$o;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {p1, p2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 57
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f0908e5

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->s:Landroid/view/View;

    .line 58
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f0908e3

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->t:Landroid/widget/EditText;

    .line 59
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->g:Landroid/view/View;

    const p2, 0x7f0908e1

    invoke-virtual {p1, p2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/EditText;

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->u:Landroid/widget/EditText;

    return-void
.end method

.method public a(Landroid/content/DialogInterface$OnDismissListener;)V
    .locals 2

    .line 76
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    new-instance v1, Lcom/estrongs/android/widget/c$c;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/widget/c$c;-><init>(Lcom/estrongs/android/widget/c;Landroid/content/DialogInterface$OnDismissListener;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FileGridViewWrapper$b0;)V
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper$b0;)V

    :cond_0
    return-void
.end method

.method public a(Lcom/estrongs/android/widget/c$q;)V
    .locals 0

    .line 77
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->r:Lcom/estrongs/android/widget/c$q;

    return-void
.end method

.method protected a(Lcom/estrongs/fs/h;)V
    .locals 4

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    if-nez v0, :cond_1

    .line 7
    new-instance v0, Lcom/estrongs/android/widget/c$j;

    invoke-direct {v0, p0}, Lcom/estrongs/android/widget/c$j;-><init>(Lcom/estrongs/android/widget/c;)V

    .line 8
    new-instance v1, Lcom/estrongs/android/widget/c$k;

    iget-object v2, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    const/4 v3, 0x0

    invoke-direct {v1, p0, v2, v3, v0}, Lcom/estrongs/android/widget/c$k;-><init>(Lcom/estrongs/android/widget/c;Landroid/content/Context;Les/q70;Lcom/estrongs/android/view/FileGridViewWrapper$a0;)V

    iput-object v1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    const/4 v0, 0x1

    .line 9
    invoke-virtual {v1, v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->e(Z)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    new-instance v1, Lcom/estrongs/android/widget/c$l;

    invoke-direct {v1, p0}, Lcom/estrongs/android/widget/c$l;-><init>(Lcom/estrongs/android/widget/c;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper$z;)V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    const v2, 0x7f060294

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->k(I)V

    if-eqz p1, :cond_0

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/h;)V

    .line 13
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    const/4 v0, 0x3

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->j(I)V

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->A()I

    move-result p1

    .line 15
    rem-int/lit8 v0, p1, 0x4

    div-int/lit8 p1, p1, 0x4

    invoke-static {v0, p1}, Lcom/estrongs/android/pop/view/utils/f;->a(II)Les/q70;

    move-result-object p1

    .line 16
    invoke-virtual {p0, p1}, Lcom/estrongs/android/widget/c;->a(Les/q70;)V

    .line 17
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 18
    invoke-direct {p0}, Lcom/estrongs/android/widget/c;->o()V

    :cond_1
    return-void
.end method

.method public a(Les/q70;)V
    .locals 1

    .line 61
    iput-object p1, p0, Lcom/estrongs/android/widget/c;->m:Les/q70;

    .line 62
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/q70;)V

    return-void
.end method

.method public a(Ljava/lang/CharSequence;)V
    .locals 1

    .line 74
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V
    .locals 1

    if-nez p2, :cond_0

    .line 70
    new-instance p2, Lcom/estrongs/android/widget/c$b;

    invoke-direct {p2, p0}, Lcom/estrongs/android/widget/c$b;-><init>(Lcom/estrongs/android/widget/c;)V

    .line 71
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 72
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setLeftButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_0

    .line 73
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    :goto_0
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    if-nez p1, :cond_0

    const-string p1, "storage://"

    .line 66
    :cond_0
    invoke-virtual {p0, p1}, Lcom/estrongs/android/widget/c;->b(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/widget/c;->i:Lcom/estrongs/fs/g;

    if-eqz p1, :cond_1

    .line 67
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 p1, 0x1

    .line 68
    invoke-virtual {p0, p1}, Lcom/estrongs/android/widget/c;->b(Z)V

    goto :goto_0

    .line 69
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 60
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->e(Z)V

    return-void
.end method

.method protected b(Ljava/lang/String;)Lcom/estrongs/fs/g;
    .locals 3

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->k:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/fs/g;

    if-eqz p1, :cond_0

    .line 5
    invoke-interface {v1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    return-object v1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public b()Ljava/lang/String;
    .locals 1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public b(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V
    .locals 1

    if-nez p2, :cond_0

    .line 8
    new-instance p2, Lcom/estrongs/android/widget/c$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/widget/c$a;-><init>(Lcom/estrongs/android/widget/c;)V

    .line 9
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setRightButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_0

    .line 11
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/widget/c;->f:Landroid/view/View;

    :goto_0
    return-void
.end method

.method public b(Z)V
    .locals 0

    .line 7
    iput-boolean p1, p0, Lcom/estrongs/android/widget/c;->l:Z

    return-void
.end method

.method public c()Lcom/estrongs/fs/g;
    .locals 1

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->X()Lcom/estrongs/fs/g;

    move-result-object v0

    return-object v0
.end method

.method public c(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V
    .locals 1

    if-nez p2, :cond_0

    .line 19
    new-instance p2, Lcom/estrongs/android/widget/c$p;

    invoke-direct {p2, p0}, Lcom/estrongs/android/widget/c$p;-><init>(Lcom/estrongs/android/widget/c;)V

    .line 20
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/ui/dialog/q;->setSingleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    const/4 p1, 0x1

    .line 21
    iput-boolean p1, p0, Lcom/estrongs/android/widget/c;->z:Z

    return-void
.end method

.method public c(Z)V
    .locals 2

    if-eqz p1, :cond_0

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/e0;->j(Z)V

    .line 12
    :cond_0
    iget-boolean p1, p0, Lcom/estrongs/android/widget/c;->z:Z

    if-nez p1, :cond_1

    invoke-virtual {p0}, Lcom/estrongs/android/widget/c;->i()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 13
    invoke-direct {p0}, Lcom/estrongs/android/widget/c;->q()V

    .line 14
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 15
    iget-boolean p1, p0, Lcom/estrongs/android/widget/c;->l:Z

    if-eqz p1, :cond_2

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    const-string v1, "storage://"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->d(Z)V

    :cond_2
    const/4 p1, 0x0

    .line 17
    iput-boolean p1, p0, Lcom/estrongs/android/widget/c;->l:Z

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->z0()V

    return-void
.end method

.method public d()Lcom/estrongs/android/ui/dialog/q;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    return-object v0
.end method

.method protected e()Ljava/util/List;
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 2
    invoke-static {}, Lcom/estrongs/android/util/h0;->f()Ljava/util/List;

    move-result-object v0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v1

    .line 4
    new-instance v2, Ljava/util/LinkedList;

    invoke-direct {v2}, Ljava/util/LinkedList;-><init>()V

    .line 5
    iget v3, p0, Lcom/estrongs/android/widget/c;->n:I

    and-int/lit8 v3, v3, 0x1

    if-eqz v3, :cond_0

    sget-boolean v3, Lcom/estrongs/android/pop/j;->n:Z

    if-nez v3, :cond_0

    .line 6
    new-instance v3, Lcom/estrongs/android/widget/h;

    iget-object v4, p0, Lcom/estrongs/android/widget/c;->w:Lcom/estrongs/fs/l;

    iget-object v5, p0, Lcom/estrongs/android/widget/c;->o:Landroid/content/Context;

    const v6, 0x7f110603

    .line 7
    invoke-virtual {v5, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v5

    const-string v6, "/"

    invoke-direct {v3, v4, v6, v5}, Lcom/estrongs/android/widget/h;-><init>(Lcom/estrongs/fs/l;Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 9
    :cond_0
    iget v3, p0, Lcom/estrongs/android/widget/c;->n:I

    and-int/lit8 v3, v3, 0x2

    if-eqz v3, :cond_1

    .line 10
    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 11
    invoke-static {v1}, Lcom/estrongs/android/pop/j;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 12
    new-instance v4, Lcom/estrongs/android/widget/h;

    iget-object v5, p0, Lcom/estrongs/android/widget/c;->x:Lcom/estrongs/fs/l;

    invoke-direct {v4, v5, v1, v3}, Lcom/estrongs/android/widget/h;-><init>(Lcom/estrongs/fs/l;Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 13
    :cond_1
    iget v3, p0, Lcom/estrongs/android/widget/c;->n:I

    and-int/lit8 v3, v3, 0x4

    if-eqz v3, :cond_4

    const/4 v3, 0x0

    .line 14
    :goto_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_4

    .line 15
    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    goto :goto_1

    .line 16
    :cond_2
    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 17
    invoke-static {v4}, Lcom/estrongs/android/pop/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    if-nez v4, :cond_3

    .line 18
    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 19
    :cond_3
    new-instance v5, Lcom/estrongs/android/widget/h;

    iget-object v6, p0, Lcom/estrongs/android/widget/c;->x:Lcom/estrongs/fs/l;

    .line 20
    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/String;

    invoke-direct {v5, v6, v7, v4}, Lcom/estrongs/android/widget/h;-><init>(Lcom/estrongs/fs/l;Ljava/lang/String;Ljava/lang/String;)V

    .line 21
    invoke-interface {v2, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_4
    return-object v2
.end method

.method public f()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method public g()Ljava/lang/String;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public h()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->b:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "storage:"

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    const-string v1, "storage://"

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    return-void

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->Y()Ljava/lang/String;

    move-result-object v0

    .line 6
    invoke-direct {p0, v0}, Lcom/estrongs/android/widget/c;->c(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Ljava/lang/String;)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Les/q70;)V

    goto :goto_0

    .line 9
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->C0()Lcom/estrongs/fs/g;

    :goto_0
    return-void
.end method

.method protected i()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public j()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->e:Landroid/view/View;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public k()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->h:Landroid/view/View;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public l()Z
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->p:Lcom/estrongs/android/ui/dialog/q;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public m()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/widget/c;->c:Lcom/estrongs/android/view/e0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/FileGridViewWrapper;->J()V

    return-void
.end method

.method public n()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/widget/c;->c(Z)V

    return-void
.end method
